<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String username = (String)request.getParameter("username");
    session.setAttribute("username",username);	    
	//String username=(String) session.getAttribute("username");
%>
<p>
	Welcome:
	<%=username %>
	|
	<%=email %>
<p>
	<%= session.getId() %>
<form method="post" action="test.html">
	<p>
		<b>Enter Your Name: </b><input type="text" name="username"><br>
		<input type="submit" value="Submit">
</form>
<p>
	<a href="logintestsession.jsp">Next Page to view the session value</a>
<p>